package org.boulderfoodrescue.webapp.client.rpc;

import java.util.List;

import org.boulderfoodrescue.webapp.shared.UserAccount;
import org.boulderfoodrescue.webapp.shared.UserAccountDetails;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("profileServlet")

public interface UserAccountsService extends RemoteService{
  public Long saveProfileData(UserAccount user);
  public UserAccount getUser();
  public boolean removeUser(UserAccount user);
  public boolean removeUser(UserAccountDetails user);
  public List<UserAccount> getUsers();
  public List<UserAccountDetails> getListUsers();
  
}
